const TOKEN = "token"

const setToken = (key) => {
  localStorage.setItem(TOKEN, key)
}

const getToken = () => {
  return localStorage.getItem(TOKEN)
}

const removeToken = () => {
  localStorage.removeItem(TOKEN)
}

export {
    setToken,
  getToken,
  removeToken
}